package com.coc.myquartz.entity;

/**
 * 自动任务管理配置类
 * @author
 *
 */
public class AutoJob {

    /**
     * 间隔任务
     */
    public final static int JOB_INTERNAL = 1;

    /**
     * 调度任务
     */
    public final static int JOB_SCHEDULE = 2;

    /**
     * 线程任务
     */
    public final static int JOB_THREAD = 3;

    // 采用guid形式存储 主键
    private String job_id;

    // 任务名称
    private String job_name;

    // job类型 1.间隔 2.定时 3.线程
    private int job_type;

    // 执行job的类名（包含路径）
    private String class_name;

    // 是否启用 1.启用 0.不启用
    private int job_enable;

    // 触发器触发时（可以控制间隔时间和启动时间）
    private String job_time;

    // 任务执行的间隔时间
    private String job_interval;

    //重复次数
    private int repeatcount;

    //延迟时间
    private String  delaytime;

    //备注
    private String remark;

    public String getJob_id() {
        return job_id;
    }

    public void setJob_id(String jobId) {
        job_id = jobId;
    }

    public String getJob_name() {
        return job_name;
    }

    public void setJob_name(String jobName) {
        job_name = jobName;
    }

    public int getJob_type() {
        return job_type;
    }

    public void setJob_type(int jobType) {
        job_type = jobType;
    }

    public String getClass_name() {
        return class_name;
    }

    public void setClass_name(String className) {
        class_name = className;
    }

    public int getJob_enable() {
        return job_enable;
    }

    public void setJob_enable(int jobEnable) {
        job_enable = jobEnable;
    }

    public String getJob_time() {
        return job_time;
    }

    public void setJob_time(String jobTime) {
        job_time = jobTime;
    }

    public String getJob_interval() {
        return job_interval;
    }

    public void setJob_interval(String jobInterval) {
        job_interval = jobInterval;
    }

    public int getRepeatcount() {
        return repeatcount;
    }

    public void setRepeatcount(int repeatcount) {
        this.repeatcount = repeatcount;
    }

    public String getDelaytime() {
        return delaytime;
    }

    public void setDelaytime(String delaytime) {
        this.delaytime = delaytime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}